<%@ page language="java" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Upload a file please</title>
</head>
<body>
	<h1>Please upload a file</h1>
	<form method="post" action="/form" enctype="multipart/form‐data">
		<input type="text" name="name" /> <input type="file" name="file" /> <input
			type="submit" />
	</form>
</body>
</html>
